home *** CD-ROM | disk | FTP | other *** search
- To compile emacs, you will need SAS C 6.x. I use 6.51. If you try to
- make it work with Aztec C or gcc, you might run into difficulties with
- the dumping code:
- - The "small" data model (A4-relative) is used, to get all the variables
- in one hunk.
- - Some variables are declared with the "far" attribute to get them out
- of this hunk (and the dumping code depends on this). Move these to
- the amiga_data.c module (which is for variables that shouldn't be
- dumped).
- You will also need dgay's 'unix compatibility' library which should have been
- distributed alongside emacs.
-
- To compile:
-
- a) Install the 'unix compatibility' library.
- As I recall, this is available on aminet under the name
- "unix*.lha" or somesuch.
-
- b) Install as usual (see INSTALLATION).
-
- c) Compile the C preprocessor (SAS's one has problems ...):
-
- cd gnuemacs:cpp
- smake
-
- When the preprocessor is running, it needs to find uncompacted versions
- of the include files. If you only installed the compacted include files,
- you will have to install the uncompacted ones somewhere.
-
- You can check your type of include files by looking to see if (eg)
- include:stdio.h is a readable text file (all is ok) or contains binary
- characters (you have the compacted files).
-
- I've personally had trouble compiling this. I'll include my copy.
-
- e) Compile & dump emacs
-
- stack 100000
- cd gnuemacs-19.25:src
- smake
- copy temacs /
-
- (This takes around 20 minutes from scratch on an A2500/30).
-
- If all goes well, you should have a new version of emacs ...
-
- [Note: The DOC strings are not remade for some reason. To change this,
- edit ymakefile and remove the comment from the rule for xemacs]
-